package site.wetsion.galio.sdk.handler;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 认证成功的处理接口
 *
 * @author wetsion
 * @version 1.0
 * @CLassName AuthenticationSuccessHandler
 * @date 2019/3/8 4:02 PM
 */
public interface AuthenticationSuccessHandler {

    /** 认证成功的处理 **/
    void onAuthenticationSuccess(HttpServletRequest request,
                                 HttpServletResponse response, FilterChain filterChain)
            throws IOException, ServletException;
}
